	<form name="qgform" id="qgform" method="post" action="admin.php?file=product&act=save" onsubmit="return chkadd();">
	<input type="hidden" value="<?php echo $id;?>" name="sysgroupid" id="sysgroupid">
	<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
	<table width="100%">
	<tr>
		<td class="left">分类名称：<span style="color:red;">*</span></td>
		<td class="right">
			<input type="text" name="catename" id="catename" value="<?php echo $groupname;?>">
			<span class="clue_on">[禁止使用引号、逗号等标点符号及特殊符号]</span>
		</td>
	</tr>
	</table>
	</div>
	
	<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
	<table width="100%">
	<tr>
		<td class="left">上级分类：<span style="color:red;">*</span></td>
		<td class="right">
			<select name="cateid">
			  <option value="-1" style="color:red;">设为根分类</option>
      	<?php
      	$allPlist = $DB->DB_GetAll("SELECT * FROM category WHERE parent_id =-1");
      	foreach($allPlist as $key =>$value)
      	{
      	?>		
				<option value="<?php echo $value['id'];?>"><?php echo $value['groupname'];?></option>
	      <?php
	      }
	      ?>
			</select> <span class="clue_on">[请选择一个分类]</span>
		</td>
	</tr>
	</table>
	</div>
	
	<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
	<table width="100%">
	<tr>
		<td class="left">描述：</td>
		<td class="right"><textarea name="note" style="width:400px;height:46px;overflow-y:hidden"><?php echo $note;?></textarea></td>
	</tr>
	</table>
	</div>
	<div class="table">
	<table width="100%">
	<tr>
		<td class="left">&nbsp;</td>
		<td class="right clue_on">[描述不能超级200个字符，不支持HTML语法]</td>
	</tr>
	</table>
	</div>
	
	<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
	<table width="100%">
	<tr>
		<td class="left">显示：</td>
		<td class="right"><input type="radio" name="status" value="1" <?php if($status =='' || $status == 1) echo 'checked';?>>显示 <input type="radio" name="status" value="0" <?php if($status  == 0) echo 'checked';?>>隐藏 <span class="clue_on">[暂时不使用的分类可以点隐藏，前台将不会调用，但用户仍然可以直接从网址中访问]</span></td>
	</tr>
	</table>
	</div>
	
	<div class="table" onmouseover="this.className='table table1'" onmouseout="this.className='table'">
	<table width="100%">
	<tr>
		<td class="left">排序：</td>
		<td class="right"><input type="text" name="taxis" id="taxis" value="<?php if($taxis == ''){ echo '255';}else{ echo $taxis;}?>" class="short_input"> <span class="clue_on">[数值越小越往前靠，最大不能超过255]</span></td>
	</tr>
	</table>
	</div>
	
	
	<div class="table">
	<table width="100%">
	<tr>
		<td class="left"></td>
		<td class="right"><input type="submit" id="creat_button" value="添加分类" class="mybutton_01"> &nbsp; <span id="show_step" style="color:red;"></span></td>
	</tr>
	</table>
	</div>
	</form>